package com.chenyue.cm.group.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.chenyue.cm.user.domain.vo.OwnInfoUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author Lbx
 * @since 2021-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ViewMyGroup对象", description = "VIEW")
public class ViewMyGroup extends Model<ViewMyGroup> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "用户名")
    private String userName;

    private Integer id;

    @ApiModelProperty(value = "队伍id")
    private Integer groupId;

    @ApiModelProperty(value = "队员名称")
    private String memberName;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "申请时间")
    private Date applyTime;

    @ApiModelProperty(value = "申请状态 0待审核1通过2拒绝")
    private Integer state;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "用户详细信息")
    @TableField(exist = false)
    private OwnInfoUser user;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
